Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve K8s unit tests #4196

Merged
merged 2 commits into from
Sep 17, 2023
Merged

Improve K8s unit tests #4196

merged 2 commits into from
Sep 17, 2023

Conversation

bentsherman
Copy link
Member

@bentsherman bentsherman commented Aug 15, 2023

This PR improves the unit tests for K8s pod specs by verifying specific pod spec fields instead of the entire pod spec. As a result the tests are shorter and faster, and when a test fails its easier to tell which fields are incorrect.

These tests have always been difficult cumbersome to maintain, so hopefully this PR will make K8s development easier in the future.

Signed-off-by: Ben Sherman <[email protected]>
@netlify
Copy link

netlify bot commented Aug 15, 2023

Deploy Preview for nextflow-docs-staging canceled.

Name Link
🔨 Latest commit d2b53dc
🔍 Latest deploy log https://app.netlify.com/sites/nextflow-docs-staging/deploys/6507121c66a4ec0008bebd22

@pditommaso pditommaso merged commit 5a43a32 into master Sep 17, 2023
18 checks passed
@pditommaso pditommaso deleted the ben-cleanup-k8s-tests branch September 17, 2023 14:59
abhi18av pushed a commit to abhi18av/nextflow that referenced this pull request Oct 28, 2023
Signed-off-by: Ben Sherman <[email protected]>
Signed-off-by: Paolo Di Tommaso <[email protected]>
Co-authored-by: Paolo Di Tommaso <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants